/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;
import DAO.*;
import DTO.KhachHang;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import javax.swing.JOptionPane;

/**
 *
 * @author PC
 */
public class KhachHangBUS {
     public static ResultSet  TimKiemTatCa() {
        return KhachHangDAO.TimKiemTatCa();
    }
     public static boolean KiemTraTonTai(String MaNV)
    {
        return KhachHangDAO.KiemTraTonTai(MaNV);
    }
    
     public static boolean Them(KhachHang n) {
         return KhachHangDAO.Them(n);
     }
    public static boolean Xoa(String id) {
         return KhachHangDAO.Xoa(id);
     }
     public static boolean Update(KhachHang NV,String id){
          return KhachHangDAO.Update(NV,id);
     }
}
